package map.android.baidu.carpool.response;

import com.baidu.lbs.net.http.response.ComNetResponse;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created by zhangtongyu on 15/3/23.
 * user模块获取车主评价列表接口response
 */
public class CarerCommentResponse extends ComNetResponse implements Serializable{

    private static final long serialVersionUID = 3268058423147174585L;

    public CarerComment data;

    class CarerComment implements Serializable{

        private static final long serialVersionUID = 3543670281107378892L;

        public String nickname; //车主昵称
        public ArrayList<CarerCommentItem> commentList;

        class CarerCommentItem implements Serializable{

            private static final long serialVersionUID = 8418671451921935416L;

            public String userNickname; //用户昵称
            public String commentMsg; //评论详情
            public String commentStar; //评分
            public String createTime; //订单创建时间
            public String parter; //合作方
        }
    }

    @Override
    public boolean isBadResponse() {
        return false;
    }

    @Override
    public int getErrorNo() {
        return 0;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }
}
